package com.Ruanble;

//通过实现接口来创建线程
public class MyThread implements Runnable {
    //    通过重写Run方法来实现线程逻辑
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("那个男生表白了" + i + "次");
        }
    }
}
